package com.hxit.huaxiamelongarden.domin.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tags")
@Schema(description = "标签实体类") // 类级别描述
public class Tags {
    @Schema(description = "标签ID", example = "1") // 字段描述
    private Integer tagId;

    @Schema(description = "标签名称", example = "Java")
    private String tagName;

    @Schema(description = "创建时间", example = "2023-10-01T12:00:00Z")
    private Timestamp createdAt;
}
